Avoid drawing implicit paints to destroyed windows
authorAlexander Larsson <alexl@redhat.com>
Fri, 15 Jan 2010 15:06:12 +0000 (16:06 +0100)
committerAlexander Larsson <alexl@redhat.com>
Fri, 15 Jan 2010 15:08:18 +0000 (16:08 +0100)
commitf96e51db46f2196707c0ea44a46f1d67f9a069d4
treea2b4504461b1dd680fab61662e8cda556fa9fcfe
parent1e6df1dfc5e297cf9a07788b10dda67643ffce92
Avoid drawing implicit paints to destroyed windows

It may happen that a window gets destroyed during painting, if so
we should not draw the implicit paint double-buffered pixmap to it
as that will cause a BadDrawable X error.

This fixes bug 600865
gdk/gdkwindow.c